<?php

/*
 * 详情控制器
 * @author sky
 * create_time 2017-04-23
 */


namespace App\Front\Controllers\Index;

use Illuminate\Http\Request;
use App\Admin\Controllers\Controller;
use App\Front\Models\Sales;
class SalesController extends Controller {


    /*
     * 订单列表
     * @author sky
     * create_time 2017-05-03
     */
    // 添加订单
    public function sales($id) {
        
        $addgoods = array(
            'sale_user_name' => "sky",
            'sale_goods_id' => "15",
            'sale_goods_num' => "1",
            'sale_cost' => "111",
            'sale_state' => "1",
            'sale_date' => date('y-m-d h:i:s',time())
        );
    	// dd($goods);
        return view('front.detail',$datas);
    }
}